package com.cnap.model.schedule;

/**
 * 扩缩容策略二级分类
 *
 * @author xc
 **/
public enum ScaleStrategyTypeEnum {
    /**
     * 虚机
     */
    VM_SCALE_STRATEGY("vm", "scale"),
    /**
     * 容器
     */
    CONTAINER_SCALE_STRATEGY("container", "scale"),
    /**
     * 集群
     */
    CLUSTER_SCALE_STRATEGY("cluster", "scale"),
    ;

    private final String type;
    private final String parentType;

    ScaleStrategyTypeEnum(String type, String parentType) {
        this.type = type;
        this.parentType = parentType;
    }

    /**
     * get
     *
     * @return Type
     */
    public String getType() {
        return type;
    }

    /**
     * get
     *
     * @return ParentType
     */
    public String getParentType() {
        return parentType;
    }
}
